package cn.edu.eight.food.service.Impl;


import cn.edu.eight.food.dao.OfCategoryMapper;
import cn.edu.eight.food.model.OfCategory;
import cn.edu.eight.food.service.ofCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ofCategoryServiceImpl implements ofCategoryService {
    @Autowired
    OfCategoryMapper ofCategoryMapper;

    @Override
    public List<OfCategory> ofCategoryList(String categoryName) {
        return ofCategoryMapper.ofCategoryList(categoryName);
    }
}
